import http from "@/utils/request";

export function balanceLi(params) {
    return http.request({
        url: "/api/mobile/public/walletRecord/all",
        method: "get",
        params,
    });
}

export function wxUserInfo(params) {
    return http.request({
        url: "/api/mobile/public/wxUserInfo",
        method: "get",
        params,
    });
}
export function withdrawal(params) {
    return http.request({
        url: "/api/mobile/public/walletRecord/withdrawal",
        method: "post",
        data:params,
    });
}
export function withdrawalCode(params) {
    return http.request({
        url: "/api/mobile/public/walletRecord/getSmsCode",
        method: "get",
        params,
    });
}

export function enrollRecord(params) {
    return http.request({
        url: "/api/mobile/public/onlineRegistration",
        method: "get",
        params,
    });
}